﻿@model Project3.Models.Meeting

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>@Html.DisplayFor(model => model.EventName)</legend>
    
    <div class="display-label"><strong>What: </strong></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.What)
    </div>

    <div class="display-label"><strong>When: </strong></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.When)
    </div>

    @*<div class="display-label"><strong>Where: </strong></div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Where)
    </div>*@
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Cancel", "Index")
    </p>
}
